<%-- 
    Document   : index
    Created on : Oct 16, 2011, 4:12:37 PM
    Author     : VIC
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<%@page import="Beans.NgonNgu,Beans.ThamSoHT,Models.NgonNgu_Model,Models.ThamSoHT_Model"%>
<%@page import="java.net.InetAddress" %>
<%
    int port = request.getServerPort();
%>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
        <meta name="format-detection" content="telephone=no">
        <title>i-Order</title>
        <meta http-equiv="Content-Language" content="vi-vn" />
        <meta name="description" content="i-Order System " />
        <meta name="author" content="Quang Tan Nghia - Nguyen Thi Hoa" />
        <link rel="icon" href="images/icon.png" />
        <link rel="shortcut icon" href="images/icon.png" />
        <link rel="apple-touch-icon" href="images/icon.png"/>
        <link rel="apple-touch-icon-precomposed" href="images/icon.png"/>
        <link media="only screen and (max-device-width: 480px)" href="css/mobile.css" type="text/css" rel="stylesheet" />
        <link href="css/mobile.css" type="text/css" rel="stylesheet" />
        <link href="css/jquery.alerts.css" type="text/css" rel="stylesheet" />
        <script type="text/javascript" src="js/jquery-1.5.1.min.js"></script>
        <script type="text/javascript" src="js/waiter.js"></script>
        <script type="text/javascript" src="js/jquery.simplemodal.js"></script>
        <script type="text/javascript" src="js/jquery.alerts.js"></script>
        <script type="text/javascript" src="js/msg.js"></script>
        <script type="text/javascript" src="js/iscroll.js"></script>
        <script type="text/javascript" src="js/jquery.doubletap.js"></script>
       <style type="text/css">
           select { visibility: visible; -webkit-appearance: menulist-text;}
        </style>
        <script type="text/javascript">
        var myScroll;
        document.addEventListener('touchmove', function (e) { e.preventDefault(); }, false);
	/*$(document).ready(function() {
            
            var nPageH = $(document).height();
            var nViewH = window.outerHeight;
            var nPageW = $(document).width();
            var nViewW = window.outerWidth;
        });*/
        
	</script>
    </head>
    <body onload=" CheckBrowser(<%= port%>);">
        <%
            int nnmd  = NgonNgu_Model.NgonnguMD();
            String dsts = "'accep','encookie'"; // chuỗi chứa các mã tham số của trang này.
            ThamSoHT[] mdsts = ThamSoHT_Model.DSThamSo(dsts, nnmd); // mảng chứa các tham số của trang này.
            String accep = mdsts[0].getTenTS();
            String encookie = mdsts[1].getTenTS();
        %>
        <div id="wrap">
            <img onclick="selectlang('<%=encookie %>','<%=accep %>');" src="images/cover.png">
        </div>
    </body>
</html>
